<?php

use Illuminate\Support\Facades\Route;

/*
|--------------------------------------------------------------------------
| Web Routes
|--------------------------------------------------------------------------
|
| Here is where you can register web routes for your application. These
| routes are loaded by the RouteServiceProvider within a group which
| contains the "web" middleware group. Now create something great!
|
*/

Route::get('/test', function(){
//    $users = App\Models\User::on('project')->get();
//    dd($users);
//    
    
    $test = Virchow\VirlumenTelescopeDashboard\Storage\EntryModel::on('project')->get()->toArray();
    
//    $test = \Illuminate\Support\Facades\DB::connection('project')->table('scrm_telescope_entries')->get();
    
    
    dd($test);
});
Route::get('/', function () {
    return redirect('/admin');
});
